set output=#path#name-ocr-t
#newl "#ppthapps\+\Tesseract-ocr\tesseract.exe" |-ocr program file-
"#item" |-input-
-l srp |-l eng |-l src |-choose language-
"%output%" |-output-
#remark disable page segmenation|-psm 6 |--Use this if lines go missing--
#newl "#ppthapps\txt2rtf-clvb\txt2rtf-clvb.exe" |-convert txt file to rtf-
-stFileIn="%output%.txt" |-temp file in-
-stFileOut="%output%.rtf" |-file out-
-stFontFamily="Times New Roman" -siFontSize=12 |-stFontFamily="Arial" -siFontSize=12 |
#newl del "%output%.txt" |-del temp file-

<comment>
Convert image to text using OCR (Optical character recognition).
Uses Tesseract ocr: http://code.google.com/p/tesseract-ocr/
Output file is in rtf format.
Program accepts multipage tiff, too.

6 = Assume a single uniform block of text.